3921b3e8ffe77d43ce7c2b95a97671e7ba8bce6a,common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/ca/AbstractELCompletionEngine.java,AbstractELCompletionEngine,resolve,#ELContext#ELExpression#number#,168
Before Change
*/
public ELResolution resolve(ELContext context, ELExpression operand, int offset) {
List<Var> vars = EMPTY_VARS;
Var[] array = context.getVars(offset);
if(array.length > 0) {
vars = new ArrayList<Var>();
}
for (int i = 0; i < array.length; i++) {
vars.add(array[i]);
After Change
* @see org.jboss.tools.common.el.core.resolver.ELResolver#resolve(org.jboss.tools.common.el.core.resolver.ELContext, org.jboss.tools.common.el.core.model.ELExpression)
*/
public ELResolution resolve(ELContext context, ELExpression operand, int offset) {
List<Var> vars = context.getVarsAsList(offset);
ELResolutionImpl resolution = null;
try {
resolution = resolveELOperand(context.getResource(), context, operand, true, vars, new ElVarSearcher(context.getResource(), this), offset);